package com.yuw.aop;

import java.lang.reflect.Method;

import org.springframework.aop.MethodBeforeAdvice;

public class AOPOperatorMethodBeforeAdvice implements MethodBeforeAdvice {

	@Override
	public void before(Method method, Object[] args, Object target) throws Throwable {
		// aop执行的前置通知的业务逻辑处理
		System.out.println("检测行李安全");
		System.out.println("检测身份安全");
	}

}
